package com.niit.service.Impl;


import com.niit.service.InformationService;
import com.niit.dao.InformationDao;
import com.niit.model.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class InformationServiceImpl implements InformationService {

    @Autowired
    private InformationDao informationDao;

    @Override
    public Student selectStudentById(Long id){
        return informationDao.selectStudentById(id);
    }



    @Override
    public int upStudent(Student student){
        return informationDao.updateStudent(student);
    }

}
